package com.yjweb.webportal.service;

import com.yjweb.webportal.entities.Contacts;
import com.yjweb.webportal.mapper.ContactsMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ContactsService {
    @Autowired
    private ContactsMapper contactsMapper;
    //获取优先级最高一条
    public Contacts getAllContactsInfo(){
        return contactsMapper.getAllContactsInfo();
    }


}
